Automattic\WooCommerce\StoreApi\Routes\V1\Checkout A

Total Complexity 61
Dependencies 13
Dependents 1
Total lines 701
Lines of code 332
Logical lines of code 142
Comment lines 292
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
get_response()
A
52 8 24
create_customer_account()
A
47 7 36
process_customer()
S
48 6 34
create_or_update_draft_order()
S
45 5 46
map_create_account_error()
S
62 7 12
update_customer_from_request()
S
55 6 18
get_request_payment_method()
S
51 5 28
should_create_customer_account()
S
60 5 15
get_route_post_response()
S
48 2 40
get_args()
S
48 1 39
get_route_error_response()
S
64 2 10
get_route_error_response_from_object()
S
70 2 6
add_data_to_error_object()
S
66 2 8
get_path()
S
82 1 3
requires_nonce()
S
82 1 3
get_route_response()
S
65 1 10